package com.itwxz.common.config;

import com.itwxz.common.core.domain.MailAccount;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "wxz.mail")
@Data
public class MailConfig {
	private List<MailAccount> accounts;
}
